//
// Created by Administrator on 2025/3/26.
//
#include "util.h"
#include <shlobj.h>

std::wstring getUserMusicPath() {
    wchar_t lpSzPath[MAX_PATH];
    SHGetFolderPathW(nullptr, CSIDL_PROFILE, nullptr, 0, lpSzPath);
    wsprintfW(lpSzPath, L"%s\\Music", lpSzPath);
    return std::wstring(lpSzPath);
}
